package com.asiainfo.work.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;

/**
 * 表zt_bug 对应的Model对象ZtBug,
 *
 * @author baifan
 * @date 2021-1-6
 * 统计
 */
@Data
@TableName("zt_bug")
public class ZtBug implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 所属产品
     */
    @TableField("product")
    private Integer product;

    /**
     * 所属分支
     */
    @TableField("branch")
    private Integer branch;

    /**
     * 所属模型
     */
    @TableField("module")
    private Integer module;

    /**
     * 所属工程
     */
    @TableField("project")
    private Integer project;

    @TableField("plan")
    private Integer plan;

    /**
     * 所属需求
     */
    @TableField("story")
    private Integer story;

    /**
     * 需求版本
     */
    @TableField("storyVersion")
    private Integer storyVersion;

    @TableField("task")
    private Integer task;

    @TableField("toTask")
    private Integer toTask;

    @TableField("toStory")
    private Integer toStory;

    /**
     * Bug名称
     */
    @TableField("title")
    private String title;

    @TableField("keywords")
    private String keywords;

    /**
     * 严重程度
     */
    @TableField("severity")
    private Integer severity;

    @TableField("pri")
    private Integer pri;

    @TableField("type")
    private String type;

    @TableField("os")
    private String os;

    @TableField("browser")
    private String browser;

    @TableField("hardware")
    private String hardware;

    @TableField("found")
    private String found;

    /**
     * 复现步骤
     */
    @TableField("steps")
    private String steps;

    /**
     * Bug状态
     */
    @TableField("status")
    private String status;

    @TableField("subStatus")
    private String subStatus;

    @TableField("color")
    private String color;

    /**
     * Bug是否被确认 0:未确认; 1:已确认
     */
    @TableField("confirmed")
    private Integer confirmed;

    /**
     * 活跃次数
     */
    @TableField("activatedCount")
    private Integer activatedCount;

    /**
     * 活跃日期
     */
    @TableField("activatedDate")
    private Date activatedDate;

    @TableField("mailto")
    private String mailto;

    /**
     * 创建人
     */
    @TableField("openedBy")
    private String openedBy;

    /**
     * 创建日期
     */
    @TableField("openedDate")
    private Date openedDate;

    @TableField("openedBuild")
    private String openedBuild;

    /**
     * 被指派人(如果closed状态不是closed则显示拍指派人;bug状态是closed,该字段为closed)
     */
    @TableField("assignedTo")
    private String assignedTo;

    /**
     * 指派时间
     */
    @TableField("assignedDate")
    private Date assignedDate;

    /**
     * 截止日期
     */
    @TableField("deadline")
    private Date deadline;

    /**
     * 解决人
     */
    @TableField("resolvedBy")
    private String resolvedBy;

    @TableField("resolution")
    private String resolution;

    @TableField("resolvedBuild")
    private String resolvedBuild;

    /**
     * 解决日期
     */
    @TableField("resolvedDate")
    private Date resolvedDate;

    /**
     * 解决人
     */
    @TableField("closedBy")
    private String closedBy;

    /**
     * 解决日期
     */
    @TableField("closedDate")
    private Date closedDate;

    @TableField("duplicateBug")
    private Integer duplicateBug;

    @TableField("linkBug")
    private String linkBug;

    @TableField("caseVersion")
    private Integer caseVersion;

    @TableField("result")
    private Integer result;

    @TableField("repo")
    private Integer repo;

    @TableField("entry")
    private String entry;

    @TableField("lines")
    private String lines;

    @TableField("v1")
    private String v1;

    @TableField("v2")
    private String v2;

    @TableField("repoType")
    private String repoType;

    @TableField("testtask")
    private Integer testtask;

    /**
     * 最后一次编辑人
     */
    @TableField("lastEditedBy")
    private String lastEditedBy;

    /**
     * 最后一次编辑时间
     */
    @TableField("lastEditedDate")
    private Date lastEditedDate;

    /**
     * 删除状态
     */
    @TableField("deleted")
    private String deleted;
}
